/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Mod8_Ex1;

/**
 *
 * @author Root
 */
public class TestException {

    public static void main(String[] args) {
        args = new String[3];
        args[0] = "one";
        args[1] = "two";
        args[0] = "three";

        for (int i = 0; true; i++) {
            System.out.println("args[ " + i + " ] is '" + args[i] + " '");
            try {
            } catch (ArrayIndexOutOfBoundsException e) {
                System.out.println("mang da het");
            }

        }
    }
}
